package com.doge.controller.wx;

import com.doge.bean.base.BaseRespVo;
import com.doge.bean.bo.submit.SubmitBo;

import com.doge.service.wx.submit.WxSubmitService;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: doge
 * @description: 反馈
 * @author: Mr.Jiang
 * @create: 2021-12-02 22:08
 **/
@RestController
@RequestMapping("wx/feedback")
public class WxSubmitController {
    @Autowired
    WxSubmitService wxSubmitService;
    @RequestMapping("submit")
    public BaseRespVo summit(@RequestBody SubmitBo submitBo){
        wxSubmitService.submit(submitBo);
        return BaseRespVo.ok();
    }
}
